package com.example.controller.utils;

import lombok.Data;

/**
 * 表现层数据一致性处理
 * 不带总页数
 */
@Data
public class A {
    private Boolean flag;
    private Object data;
    private String msg;

    public A(Boolean flag, String msg) {
        this.flag = flag;
        this.msg = msg;
    }

    public A(Boolean flag, Object data,String msg) {
        this.flag = flag;
        this.data = data;
        this.msg = msg;
    }
}
